<%-- 
    Document   : turmaForm
    Created on : 14/08/2011, 17:46:30
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<div align="center">
    <p>Turma</p>
    <mtw:form method="post" action="${formAction}">
        <mtw:input type="hidden" name="id" id="id"/>

        <table>
            <tr>
                <td>Descrição</td>
                <td><mtw:input type="text" name="descricao" id="descricao" size="50"/></td>
            </tr>

            <tr>
                <td>Ano</td>
                <td><mtw:input type="text" name="ano" id="ano" size="50"/></td>
            </tr>
            <tr>
                <td>Disciplina</td>
                <td><mtw:select name="disciplinaId" list="disciplinaOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0"/></td>
            </tr>
            <tr>
                <td>Professor</td>
                <td><mtw:select name="professorId" list="professorOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0"/></td>
            </tr>

            <tr>
                <td><mtw:submit value="Confirmar"/></td>
                <td><input type="button" value="Cancelar" onclick="location. href='TurmaRead.mtw'"/></td>
            </tr>

        </table>

    </mtw:form>
</div>
